namespace DotNetNuke.Services.Localization
{
    using System;
    using System.Xml.Serialization;

    /// <summary>
    /// <para>The Locale class is a custom business object that represents a locale, which is the language and country combination.</para>
    /// </summary>
    public class Locale
    {
        private string _Code;
        private string _Fallback;
        private string _Text;

        [XmlAttribute("Code")]
        public string Code
        {
            get
            {
                return this._Code;
            }
            set
            {
                this._Code = value;
            }
        }

        [XmlAttribute("Fallback")]
        public string Fallback
        {
            get
            {
                return this._Fallback;
            }
            set
            {
                this._Fallback = value;
            }
        }

        [XmlAttribute("DisplayName")]
        public string Text
        {
            get
            {
                return this._Text;
            }
            set
            {
                this._Text = value;
            }
        }
    }
}

